//
//  XMData.h
//  XMJJ_zml
//
//  Created by 杨何华 on 2025/5/23.
//

#import <Foundation/Foundation.h>


#import "XMCSProvince.h"
#import "XMHotCity.h"
#import "XMAreaModel.h"


NS_ASSUME_NONNULL_BEGIN


#define JF_SINGLETON_DEF(_type_) + (_type_ *)shareInstance;\
+(instancetype) alloc __attribute__((unavailable("call shareInstance instead")));\
+(instancetype) new __attribute__((unavailable("call shareInstance instead")));\
-(instancetype) copy __attribute__((unavailable("call shareInstance instead")));\
-(instancetype) mutableCopy __attribute__((unavailable("call shareInstance instead")));\

@interface XMData : NSObject

JF_SINGLETON_DEF(XMData);

@property (nonatomic, strong) NSArray <XMCSProvince *>*provinces;
@property (nonatomic, strong) NSArray <XMHotCity *>*cities;
@property (nonatomic, strong) NSArray <XMArea *>*areas;

@end
NS_ASSUME_NONNULL_END
